Skip to content

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 3, 2025

BEGIN_PUBLIC
Define isEqualTo for PersistableBundleSubject

Defines a brute force isEqualTo API for PersistableBundle by converting it to a map and taking advantage of the existing MapSubject. PersistableBundle has historically been very painful to test since they are lazy containers and do not implement equals. While the existing per value subjects are useful, they do not allow for generic comparison in parametrized tests which limits flexibility and results in more boilerplate in unit tests.
END_PUBLIC

@copybara-service copybara-service bot force-pushed the piper_812881330 branch 4 times, most recently from 78d8b77 to 098c1a6 Compare October 7, 2025 17:33
@copybara-service copybara-service bot changed the title Defines a brute force isEqualTo API for PersistableBundle. PersistableBundle has historically been very painful to test since they are lazy containers and do not implement equals. While the existing per value subjects are useful, they do not allow for generic comparison in parametrized tests which limits flexibility and results in more boilerplate in unit tests. BEGIN_PUBLIC Oct 7, 2025
@copybara-service copybara-service bot closed this Oct 7, 2025
@copybara-service copybara-service bot deleted the piper_812881330 branch October 7, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants